def is_valid_variable_name(name):
    
    if not name:
        return False
    
    if not(name[0].isalpha() or name[0] =="_"):
        return False
    
    for char in name[1:]:
         if not(char.isalpha() or char.isdigit() or char =="_"):
            return False
    
    return True
    
name =input("What's the name?")
print(is_valid_variable_name(name))
